package com.android.zhushou.ui.fragment;


import com.android.zhushou.R;

/**
 * fragment 配置类
 */
public enum Indicator {

    REVIEW(0, R.string.main_tab_name_review, R.drawable.tab_icon_review,
            ReviewFragment.class),

    INTERVIEW(1, R.string.main_tab_interview, R.drawable.tab_icon_in,
            InterviewFragment.class),

    TEST(2, R.string.main_tab_name_test, R.drawable.tab_icon_test,
            TestFragment.class),

    SETTING(3, R.string.main_tab_name_setting, R.drawable.tab_icon_other,
            PersonFragment.class);


    private int idx;
    private int resName;
    private int resIcon;
    private Class<?> clz;

    private Indicator(int idx, int resName, int resIcon, Class<?> clz) {
        this.idx = idx;
        this.resName = resName;
        this.resIcon = resIcon;
        this.clz = clz;
    }

    public int getIdx() {
        return idx;
    }

    public void setIdx(int idx) {
        this.idx = idx;
    }

    public int getResName() {
        return resName;
    }

    public void setResName(int resName) {
        this.resName = resName;
    }

    public int getResIcon() {
        return resIcon;
    }

    public void setResIcon(int resIcon) {
        this.resIcon = resIcon;
    }

    public Class<?> getClz() {
        return clz;
    }

    public void setClz(Class<?> clz) {
        this.clz = clz;
    }
}
